package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcWatchOldman;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.dto.watch.OldmanBindWatchReqDto;
import com.csun.cmny.provider.model.dto.watch.WatchPageQuery;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.csun.cmny.provider.model.vo.watch.DmcWatchVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcWatchOldmanMapper extends Mapper<DmcWatchOldman> {

    /**
     * query watch list with page
     *
     * @param watchPageQuery    watch page query
     *
     * @return  the list.
     */
    List<DmcWatchVo> queryWatchListWithPage(WatchPageQuery watchPageQuery);

    /**
     * query oldman bind watch list
     *
     * @param oldmanBindWatchReqDto oldman bind watch req dto
     *
     * @return  the list.
     */
    List<Integer> queryOldmanBindWatchList(OldmanBindWatchReqDto oldmanBindWatchReqDto);

    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}